﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace GSdk.Net.Lglcd
{
    /// <summary>
    /// Instance of devices that support 320x240 QVGA (BGRA) images (32bpp images).
    /// </summary>
    public class QvgaDevice : Device
    {
        public override DeviceTypes DeviceType { get { return DeviceTypes.Qvga; } }

        public QvgaDevice(Applet parent)
            : base(parent)
        {
        }

        public static Bitmap CreateValidBitmap()
        {
            return new Bitmap(320, 240, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
        }
    }
}
